Microsoft DirectX 8.1 (C++)

CMsgThread::CreateThread

Creates a thread.

Syntax

BOOL CreateThread(void);

Return Value

Returns one of the following values.

Value Description
TRUE Thread was successfully created.
FALSE Thread was not successfully created.

Remarks

The thread will loop, blocking until a request is queued (through the CMsgThread::PutThreadMsg member function) and then calling the CMsgThread::ThreadMessageProc member function with each message.

See Also